﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ExcelUtilities
{
    /// <summary>
    /// excel reader and writer factory
    /// create reader and writer instance
    /// </summary>
    public class ExcelFactory
    {
        /// <summary>
        /// get excel reader instance
        /// </summary>
        /// <returns></returns>
        public static ExcelReader GetExcelReader()
        {
            return new Impl.EPPlusExcelReader();
        }
        /// <summary>
        /// get excel writer instance
        /// </summary>
        /// <returns></returns>
        public static ExcelWriter GetExcelWriter()
        {
            return new Impl.EPPlusExcelWriter();
        }
    }
}